package com.john.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.john.bean.User;
import com.john.bean.vo.UserVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface UserMapper extends BaseMapper<User> {


    UserVo selectUserVoById(@Param("id") int id);

    List<Map<String, Object>> selectUserPage(Pagination page, Map<String, Object> params);
}
